/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.domain;

import commonlib.domain.Corpus;
import commonlib.domain.Rules;
/**
 *
 * @author marc.mauri
 */
public class InactiveLanguage extends LanguageState {

    @Override
    public NominalizatorDictionary getInfDico() throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void setInfDico(NominalizatorDictionary infDico) throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public NominalizatorDictionary getIrregDico() throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void setIrregDico(NominalizatorDictionary irregDico) throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public NominalizatorDictionary getNameDico() throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void setNameDico(NominalizatorDictionary nameDico) throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void setRules(Rules rules) throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public Rules getRules() throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public Corpus getCorpus() throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void setCorpus(Corpus corpus) throws UnsupportedOperationException {
        throw new UnsupportedOperationException("Inactive Language.");
    }

    @Override
    public void switchLanguageOn(NominalizatorDictionary infDico,
                                    NominalizatorDictionary irregDico,
                                    NominalizatorDictionary nounDico,
                                    Corpus corpus, Rules rules) {
        ActiveLanguage al = ActiveLanguage.getInstance();
        
        al.setLanguage(this.getLanguage() );
        al.setInfDico(infDico);
        al.setIrregDico(irregDico);
        al.setNameDico(nounDico);
        al.setCorpus(corpus);
        al.setRules(rules);
        this.getLanguage().setState(al);
    }

}

